package com.wanke.dao;

import java.util.List;

import com.wanke.entity.Teacher;

public interface TeacherDao {

	void persist(Teacher transientInstance);

	void attachDirty(Teacher instance);

	void attachClean(Teacher instance);

	void delete(Teacher persistentInstance);

	Teacher merge(Teacher detachedInstance);

	Teacher findById(int id);

	List findByExample(Teacher instance);

	public Teacher findByUserPass(String username,String password);
}